Skip to main content
Version: 1.0.2

Update Payment Recall Status

The Update Payment Recall Status API enables to send request for recalling an outbound payment.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

id

Mandatory

String

Unique ID of request

Example – "1"

method

Mandatory

String

Method Name

Example – "VisaService.UpdatePaymentRecallStatus "

params

Object

api

Object

credential

Mandatory

String

API credential provided by NetXD

Example – "Basic cy5wYXJhbWVzd2FyYW4rMkBiYW5rY2J3Lm9yZzpUZXN0QDEyMzQ="

signature

Mandatory

String

Signature of the digitally signed payload

Example – "MEQCICSDF4HIunb4xDLVEK9IOJYhT6j4wq5FwfJILSb4xbeSAiBdmpkV7uPB+39O6S+ea/61ar3dBmBNSU9ay229vin7sA=="

payload

Object

transaction

Object

id

Mandatory

String

Unique ID of transaction

Example – "65e1e25d97716c0821868879"

paymentUpdatedAction

Mandatory

String

Reason code provided by VISA for recalling a transaction

Example – "AC03"

recallComments

Mandatory

String

Comment given for recalling the payment

Example – "Incorrect account number"


curl --location --globoff '{{URL}}/jsonrpc' \
--header 'Content-Type: application/json' \
--data '{"id":"1","method":"VisaService.UpdatePaymentRecallStatus","params":{"api":{"credential":"Basic c3VwcG9ydCsxQG5ldHN5cy1pbmMuY29tOjM5ZDYxOGJkNTVmNzQ4ZGQ4ZWY4NWI5NWQxY2RlNDE5","signature":"MEQCICSDF4HIunb4xDLVEK9IOJYhT6j4wq5FwfJILSb4xbeSAiBdmpkV7uPB+39O6S+ea/61ar3dBmBNSU9ay229vin7sA=="},"payload":{"transaction":{"id":"65e1e25d97716c0821868879","paymentUpdatedAction":"AC03","recallComments":"Incorrect account number"}}}}'

Body


{
"id": "1",
"method": "VisaService.UpdatePaymentRecallStatus",
"params": {
"api": {
"credential": "Basic c3VwcG9ydCsxQG5ldHN5cy1pbmMuY29tOjM5ZDYxOGJkNTVmNzQ4ZGQ4ZWY4NWI5NWQxY2RlNDE5",
"signature": "MEQCICSDF4HIunb4xDLVEK9IOJYhT6j4wq5FwfJILSb4xbeSAiBdmpkV7uPB+39O6S+ea/61ar3dBmBNSU9ay229vin7sA=="
},
"payload": {
"transaction": {
"id": "65e1e25d97716c0821868879",
"paymentUpdatedAction": "AC03",
"recallComments": "Incorrect account number"
}
}
}
}

Response: 201

Response Parameters
ParameterDescription

jsonrpc

String

JSON RPC VERSION – should be "2.0"

result

Object

responseList

Array

reasonCode

String

Reason Code provided by VISA for payment recall

Example – "Z202"

reasonDesc

String

Description of reason given for the payment recall

Example – "Payment Recall request successful"

id

String

Unique ID of the request

Example – "1"


{
"jsonrpc": "2.0",
"result": {
"responseList": [
{
"reasonCode": "Z202",
"reasonDesc": " Payment Recall request successful."
}
]
},
"id": "1"
}